package cn.pxy.ysframework.web.Repository;

import cn.pxy.ysframework.web.Entity.Account;
import org.springframework.data.jpa.repository.JpaRepository;

public interface IAccountDao extends JpaRepository<Account,String> {
    //根据用户名密码查询
    Account findByAccountnameAndPassword(String accountname,String password);
    //根据用户名查询
    Account findByAccountname(String acccountname);
}
